/* 移动端 */
@media screen and (max-width: 800px) {
    .poster-info { left: 20px; padding-right: 20px; }
    .poster-title { font-size: 24px; }
    .poster-performance { flex-wrap: wrap; }
    .poster-wrap { max-width: 800px; }
    .poster-like img { width: 130px; height: 150px; }
    .poster-like img:first-child { margin-right: 30px; }
    .comment-nickname { width: 150px; }
}

/* PC端 */
@media screen and (min-width: 800px) {
    .poster-info { left: 20%; }
    .poster-title { font-size: 28px; }
    .poster-wrap { max-width: 1120px; }
    .poster-content { background-color: #EEE; padding: 40px; border-radius: 4px; color: #555; }
    .poster-like img { width: 200px; height: 220px; }
    .poster-like img:first-child { margin-right: 50px; }
    .comment-nickname { width: 200px; }
}

.container {
    background-color: #F5F5F5;
}

.banner {
    position: relative;
    height: 30vh;
}

.banner img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.poster-info {
    position: absolute;
    bottom: 15px;  
    color: #FFF;
}

.poster-title {
    margin-bottom: 15px;
    text-shadow: 1px 1px gray;
}

.poster-performance {
    display: flex;
    gap: 10px;
}

.performance__item {
    font-size: 14px;
    text-shadow: 1px 1px gray;
}

.poster-wrap {
    margin: 0 auto;
    padding: 40px 20px;
}

.poster-content {
    min-height: 500px;
    text-align: justify;
}

.poster-content :deep(img) {
    max-width: 100%;
}

.poster-content :deep(p) {
    word-wrap: break-word;
    word-break: break-all;
    line-height: 30px;
    color: #666;
    font-size: 15px;
}

.poster-content :deep(blockquote) {
    background: gainsboro;
    padding: 10px 20px;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    border-top-right-radius: 5px;
    border-left: 4px solid cadetblue;
    border-bottom-right-radius: 5px;
}

.poster-content :deep(code[data-backticks="1"]) {
    font-family: 'pretty';
    color: orangered;
}

.poster-content :deep(a) {
    color: #1e90ff;
    text-decoration: underline;
}

.poster-update {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #797979;
    font-size: 12px;
    margin: 20px 0 40px 0;
}

.poster-update span:last-child {
    color: white;
    background: orange;
    padding: 0 10px;
    border-radius: 4px;
    cursor: pointer;
}

.poster-update span:last-child:hover {
    background-color: #e73c7e;
}

.poster-tips {
    padding: 5px 0;
    color: #999;
    position: relative;
    z-index: 2;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.poster-tips::before {
    content: '';
    display: block;
    height: 1px;
    background: #eaeaea;
    flex: 1;
    margin: 0 20px 0 0;
}

.poster-tips::after {
    content: '';
    display: block;
    height: 1px;
    background: #eaeaea;
    flex: 1;
    margin: 0 0 0 20px;
}

.poster-like {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
}

.poster-notice {
    display: flex;
    flex-direction: column;
    line-height: 2;
    border-left: .2rem solid #03a9f4;
    padding: 10px 1rem;
    background-color: #ecf7fe;
    border-radius: 4px;
    margin: 0 0 40px 0;
    color: #000;
    font-size: 14px;
}

.poster-comment {
    margin: 40px 0;
}

.comment-title {
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: orange;
}

.comment-title span:first-child {
    font-size: 22px;
    margin-right: 5px;
}

.comment-nickname-wrapper {
	margin-bottom: 10px;
}

.comment-nickname {
	border: 1px solid #ddd;
    padding: 10px;
    border-radius: 4px;
    background: #f9f9f9;
}

.comment-input {
    margin-bottom: 10px;
}

.comment-input textarea {
    box-sizing: border-box;
    border: 1px solid #ddd;
    width: 100%;
    font-size: 14px;
    padding: 15px;
    min-height: 180px;
    resize: none;
    outline: none;
    border-radius: 4px;
    background: url('~/assets/images/write-boy.png') no-repeat 98% 70px / 120px 120px #f9f9f9;
}

.comment-input textarea:focus {
    border-color: orange;
}

.comment-submit {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.comment-emoji {
    background: #999;
    padding: 5px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    color: #fff;
    cursor: pointer;
    transition: all .4s ease-in-out;
}

.comment-emoji:hover, .comment-emoji-active {
    background-color: #e73c7e;
    transform: rotate(360deg);
}

.comment-btn {
    width: 66px;
    height: 33px;
    line-height: 33px;
    border-radius: 4px;
    text-align: center;
    font-size: 14px;
    color: #FFF;
    background-color: #837bc7;
    cursor: pointer;
    transition: all .2s ease-in;
}

.comment-btn:hover {
    background-color: #e73c7e;
}

.comment-emoji-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.comment-emoji-list .emoji-item {
    font-size: 20px;
    cursor: pointer;
}

.comment-none {
    text-align: center;
    color: #797979;
}

.comment-total {
    margin-bottom: 30px;
    color: #797979;
}

.comment-item-info {
	display: flex;
    justify-content: space-between;
}

.info-left {
	display: flex;
    align-items: center;
}

.info-left .nickname {
    color: #ef794f;
    font-size: 16px;
    font-weight: 600;
    margin-right: 5px;
}

.info-left .ownertag {
    color: #67c23a;
    border: 1px solid #67c23a;
    border-radius: .2rem;
    font-size: 12px;
    padding: 0px 4px;
    margin-right: 5px;
}

.info-left .datetime {
    font-size: 12px;
    color: #797979;
}

.info-right {
	cursor: pointer;
    color: #FFF;
    background: orange;
    border-radius: 4px;
    padding: 3px 6px;
    font-size: 12px;
    width: 50px;
    text-align: center;
}

.comment-item__content {
    margin: 5px 0 30px;
    padding: 18px 20px;
    background: #f7f9fe;
    border-radius: 5px;
    color: #333;
    font-size: 14px;
    word-break: break-word;
}

.comment-item__content :deep(.mention) {
    color: #0099FF;
}

.dialog-title {
	padding: 20px;
}

.dialog-bodys {
	padding: 20px;
}

.dialog-foots {
	padding: 20px;
	text-align: center;
}

.dialog-foots button {
	background: orange;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    color: #fff;
}

.dialog-foots button:last-child {
	margin-left: 30px;
	background-color: #009999;
}

.paging {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
}

.paging__button {
    border: 1px solid green;
    color: green;
    padding: 5px 10px;
    border-radius: 20px;
    background-color: transparent;
    transition: all .3s linear;
}

.paging__button:hover {
    background-color: green;
    color: #fff;
}

.paging__button:disabled {
    border: 1px solid #999;
    color: #999;
    cursor: not-allowed;
}

.paging__button:disabled:hover {
    color: #999;
    background-color: transparent;
}